/// id : 7038
/// listType : 1
/// title : "代表申国义：加快煤矿智能化发展"
/// url : null
/// createTime : "2021-01-20 14:44:07"

class BeanAppHomeEntity {
  int id;
  int id2;
  int listType;
  String flagType;
  String title;
  String url;
  String createTime;
  String image;

  static BeanAppHomeEntity fromMap(Map<String, dynamic> map) {
    if (map == null) return null;
    BeanAppHomeEntity beanAppHomeEntityBean = BeanAppHomeEntity();
    beanAppHomeEntityBean.id = map['id'];
    beanAppHomeEntityBean.id2 = map['id2'];
    beanAppHomeEntityBean.listType = map['listType'];
    beanAppHomeEntityBean.title = map['title'];
    beanAppHomeEntityBean.url = map['url'];
    beanAppHomeEntityBean.createTime = map['createTime'];
    beanAppHomeEntityBean.image = map['image'];
    beanAppHomeEntityBean.flagType = map['flagType'];
    return beanAppHomeEntityBean;
  }

  Map toJson() => {
        "id": id,
        "listType": listType,
        "title": title,
        "url": url,
        "createTime": createTime,
      };
}
